package com.chuangjiangx.member.stored.web.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import java.math.BigDecimal;

@ApiModel
@Data
public class RechargeRequest {
    /**
     * 充值规则Id
     */
    @ApiModelProperty(value = "充值规则Id",dataType = "java.lang.Long",example = "1")
    @Min(value = 1)
    private Long rechargeRuleId;
    /**
     * 自定义充值金额
     */
    @DecimalMin(value = "0.01")
    @ApiModelProperty(value = "自定义充值金额",dataType = "java.math.BigDecimal",example = "0.01")
    private BigDecimal customRechargeAmount;

}
